/* =forms
---------------------------------------- */

input[type=text], textarea, select {
  font:100%/1.4 Arial, sans-serif;
  color: @bodyColor;
  /* border: 1px solid #cee0e8;*/
}



/* --------- */
label {
	display:inline-block;
	line-height:normal;
	vertical-align:middle;
	padding:.5em 0;
	width:145px;
	margin:0 -3px 0 -145px;
    .b-form__row_textarea &  {
      display: block;
      float: left;
    }
	}
.ie7 label {
	display:inline;
	zoom:1;
	}
 .b-form .text,
.b-form select,
.b-select {
	width:230px;
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	margin:0 10px 0 0;
  	font-size: 13px;
  	font-weight: normal;
  	line-height: 18px;
  	vertical-align:middle;
  	height: 18px;
  	padding: 4px;
  	border: 1px solid #ccc;
	.border-radius(3px);
  	.box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075));
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
	}
.b-form select[multiple] {
	height: auto;	
}
 .b-form .text_long{
     width: 440px;
  }
.b-form input:focus, 
.b-form textarea:focus {
  border-color: rgba(82, 168, 236, 0.8);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  outline:0;
	}
input[type="radio"],
input[type="checkbox"] {
	margin:0 0.3em 0 0;
	vertical-align:middle;
	}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
  	.box-shadow(none);
	}
.b-form .textarea {
	overflow:auto;
	width:440px;
	height:120px;
	margin:0;
	}
.b-form .radio {
	vertical-align:middle;
	margin:0 5px 0 40px;
	}
.b-form select,
.b-select {
	width:240px;
    height: 28px;
    line-height: 28px;
	}
.b-select-wrap {
	float:right;
	position:relative;
	margin:-3em 0 0;
	}
.b-select-wrap label {
	width:auto;
	margin:0;
	}
.b-select_pages {
	width:auto;
	margin:0 0 0 10px;
	}
.b-checkbox,
.b-check input[type="checkbox"] {
	position:relative;
	margin:0;
	vertical-align:middle;
	}
.b-check input[type="checkbox"]{
    padding: 0;
    }
.b-check {
    padding: 0.5em 3px 0.5em 0;
    line-height: 1;
    }
.b-button {
	text-decoration:none;
	display:inline-block;
	width:auto;
	vertical-align:middle;
	overflow:visible;
	line-height:normal;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	padding:5px 16px 6px;
	text-shadow:0 1px 1px rgba(0,0,0,0.30);
	cursor:pointer;
	color:@buttonRegularColor;
	.border(@buttonRegularBorderColor);
	.vertical(@buttonRegularStartColor, @buttonRegularStopColor);
	.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.36), 0 1px 1px rgba(0,0,0,0.55)");
	.border-radius(3px);
	}
.b-button:hover {
	border-color:@buttonRegularBorderColor_hover;
	color:@buttonRegularColor_hover;
	.vertical(@buttonRegularStartColor_hover, @buttonRegularStopColor_hover);
	}
.b-button_save {
	.border(@buttonSaveBorderColor);
	.vertical(@buttonSaveStartColor, @buttonSaveStopColor);
	}
.b-form {
	position:relative;
	padding:0 0 20px;
	}
#pageControls {
	overflow: auto;
	}
#pageControls .ui-state-highlight {
	height:36px;
	margin:0 0 20px;
	border:2px dashed #999;
	background:#f5f5f5;
	.border-radius(5px 5px 0 0);
	}
.b-form-search_global {
    padding:9px;
    position:absolute;
    bottom:0;
    right:0;
    width:auto;
    background-color:@searchFormBackground;
    .border-radius(10px 10px 0 0);
}
.b-form-search input.text{
    width: 130px;
    float:left;
    border:0;
    padding: 0;
    .box-shadow(none);
    color: #86979c;
    }
.b-form-search_products input.text{
    width: 186px;
    }
.b-form-search span.text{
    background-color: #fff;
    }
.b-form-search span.text{
    float: left;
    width:auto !important;
    }
.b-form-search .ui-dropdownchecklist-selector-wrapper{
    margin:0 !important;
    }
.b-form-search .b-button_small {
    margin-top: 1px;
}
.b-form-search .ui-dropdownchecklist-selector{
    background: none;
    border: none;
    vertical-align: middle;
    }
.b-form-search .ui-dropdownchecklist-selector{
    width: auto !important;
    padding:0 !important;
    }
.b-form-search .ui-dropdownchecklist-selector-wrapper {
    padding: 0px 0 2px;
    }
.b-form-search .ui-dropdownchecklist-selector .ui-dropdownchecklist-text{
    width: auto !important;
    color: #a9aaaa;
    padding:0 18px 0 10px !important;
    border-left: 1px solid #c6c6c6;
}
.b-form-search .ui-dropdownchecklist-selector{
    position: relative;
}
.b-form-search .ui-dropdownchecklist-selector .ui-icon {
    position: absolute;
    right:0;
}
.b-form_nopad {
	padding:0;
	}
.b-form_wrapped {
	padding:.5em 0;
	}
.b-form_wrapped label {
	width:134px;
	}
.b-form .b-form__row {
	position:relative;
	padding:0 0 10px 145px;
	zoom:1;
	}
.b-form .b-form_inner-container .b-form__row {
	padding-left: 0px;
	}
.b-form__content .b-form__row,
.secondary-content .b-form__row {
	padding:0 0 10px;
	}
.secondary-content label,
.t-window-content label {
	margin:0;
	}
.b-form .b-form__row_theme_yellow {
    background-color: #FFFDD2;
    border: 1px solid #B5CC24;
    padding: 3px 5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    margin-bottom: 10px;
	}
.b-form__rows_properties {
	display:inline-block;
	vertical-align:top;
	}
.b-form__row__inner {
	width:160px;
	display:inline-block;
	vertical-align:top;
	}
.ie7 .b-form__row__inner {
	display:inline;
	zoom:1;
	}
.label_wide {
	width:auto;
	}
.b-form__row__inner .text {
	width:145px;
	margin:0;
	}
.b-form__rows_properties .b-form__row  {
	padding-left:0;
	}
.b-form__rows_properties label {
	margin:0;
	}
.b-form .b-form__row_nopad {
    padding:0;
	}
.b-button_small {
	font-weight:bold;
	font-size:12px;
	padding:4px 10px;
	text-shadow:none;
	}
.b-button_smallest {
    font-size:8px;
	padding:0 3px;
    }
.b-button_colour_grey {
	color:@buttonGreyColor;
	border-color:@buttonGreyBorderColor;
	.vertical(@buttonGreyStartColor, @buttonGreyStopColor);
	}
.b-form__text {
	margin:1px 0 0 0;
	}
.b-label__note {
	display:block;
	font-size:10px;
	color:#999;
	}
.b-label__note_left-margin{
    padding: 0.3em 0;
	}
.b-label__note_large{
    font-size:1em;
	}
.b-form__count {
	color:#999;
	float:right;
	clear:right;
	padding-top:3px;
	}
.b-form__button-shifted {
  .b-button {
    margin-left: 160px;
  }
}
/* =specific
---------------------------------------- */

.b-form .b-text_date {
	width:105px;
	}
.b-add-override {
	display:inline-block;
	padding:0 0 0 21px;
	}
.b-add-override .b-icon {
	margin:1px 0 0 -21px;
	width:16px;
	height:16px;
	text-indent:-9999px;
	background-position:-127px 0;
	}
.b-radio-list {
	display:inline-block;
	padding:.8em 0 0 0;
	vertical-align:top;
	}
.ie7 .b-radio-list {
	display:inline;
	zoom:1;
	}
.b-radio-list input {
	width:13px;
	height:13px;	
	display:inline-block;
	margin:0 .3em .8em 0;
	vertical-align:middle;
	}
.b-radio-list label {
	float:none;
	display:inline-block;
	padding:0 0 .8em;
	margin:0;
	vertical-align:middle;
	}
.b-form__row_buttons .b-button {
	margin:0 10px 0 0;
	}
.b-buttons {
	padding:0 0 2.5em;
	}
.b-buttons .b-button {
	margin:0 1em 0 0;
	}

/* dual list */

.b-form .b-dual-list {
	padding:0 0 1.5em 0;
	}
.b-dual-list__controls,
.b-dual-list__chooser {
	float:left;
	}
.b-dual-list__chooser select,
.b-dual-list__snippets select {
	width:200px;
	height:200px;
	margin:0;
	}
.b-dual-list__chooser_w300 select {
	width:300px;
	}
.b-dual-list__controls {
	text-align:center;
	width:30px;
	padding:57px 1em 0;
	}
.b-dual-list__controls .b-button {
	margin:0 0 1em;
	padding:5px 5px 6px;
	width:32px;
	clear:both;
	}
.b-form_diabled {	
	cursor: pointer;
	opacity: 0.8;
	pointer-events: none;
	z-index: 10000;
}

/* =highlighted forms
---------------------------------------- */

.b-form__head,
.b-form__body {
	position:relative;
	}
.b-form__head {
	padding:10px 14px 0;
	.border;
	.border-radius(5px 5px 0 0);
	border-bottom:0;
	z-index:2;
    &.b-form__head-allbordered {
      .border-radius(5px 5px 5px 5px);
      .border;
      }
	}

.b-form__body {
	.border;
	border-top:0;
	padding:15px 14px 14px;
	z-index:1;
	}
.b-form__revs .b-form__head{
     .border;
	padding-bottom:10px;
 }
.b-form__content_auto {
	position:relative;
	overflow:auto;
	}	
.b-form__body .textarea {
	width:432px;
	margin:0;
	}
.template-region .textarea {
	width:580px;
	}
.template-region .textarea_snippet {
    width:550px;
    display: block;
    }
.b-form__title {
	margin:0 -14px;
	padding:0 14px 10px;
	border-bottom:@borderWidth solid @borderColor;
	}
.b-form__head__link {
	position:relative;
	left:1em;
	font-size:.75em;
	}
.b-icon_expand {
	top:10px;
	right:10px;
	width:15px;
	height:15px;
	}
.b-icon_expand_min {
	background-position:-82px 0;
	}
.b-icon_expand_max {
	background-position:-67px 0;
	}
.b-icon_expand_min:hover {
	background-position:-112px 0;
	}
.b-icon_expand_max:hover {
	background-position:-97px 0;
	}
.page-module-preview {
	position:relative;
	z-index:10;
	float:right;	
	margin:-5px 0 -100%;	
	}
	
/* separated layout versa */

.b-form_layout_separated .b-form__title {
	margin:0;
	padding:0 0 10px;
	}
.b-form_layout_separated .b-form__body {
	padding-top:0;
	}
.b-form_layout_separated .b-form__content {
	padding:14px 0 0 0;
	}
.b-form_layout_separated .b-form__row_updated {
	padding:6px 0;
	border-top:@borderWidth solid @borderColor;
	}
.b-form_layout_separated .b-button {
	margin:0 5px 6px 0;
	}

/* yellow theme */

.b-form_theme_yellow .b-form__head,
.b-form_theme_yellow .b-form__body {
	background:@formBackground_yellow;
	}

/* green theme */

.primary-content .b-form_theme_green,
#fancybox-content .b-form_theme_green {
	width:48%;
	}

/* white theme */

.b-form_theme_white .b-form__head,
.b-form_theme_white .b-form__body {
	background:@formBackground_white;
	}

.b-form_theme_green .b-form__head,
.b-form_theme_green .b-form__body,
.b-form_theme_green .b-form__row_updated,
.b-form_layout_separated .b-form__content,
.b-form_theme_green .b-form__title {
	background:@formBackground_green;
	border-color:@formBackgroundBorderColor_green;
	}	
.b-form_theme_green a,
.b-form_theme_green a:visited {
	color:@formGreenThemeLinksColor;
	}
.b-form_theme_green a:hover {
	color:@linksColor_hover;
	}
.b-form_theme_green .b-button_colour_grey,
.b-form_theme_green .b-button_colour_grey:visited {
	color:@buttonGreyColor;
	}
.b-button_colour_grey:hover {
	color:@buttonRegularColor_hover;
	}
	
/* revisions themes */

.b-form_theme_process .b-form__head {
	background:@formHeadBackground_process;
	}
.b-form_theme_completed .b-form__head {
	background:@formHeadBackground_completed;
	}
.b-form_theme_draft .b-form__head {
	background:@formHeadBackground_draft;
	}
.b-form_theme_approved .b-form__head {
	background:#8cdb86;
	}
.b-form_theme_rejected .b-form__head {
	background:#ffaeae;
	}

/* form head theme */	

.b-form_bordered .b-form__head_grey {
	.box-shadow(inset 0 2px 2px rgba(255,255,255,0.36));
	.vertical(@formHeadStartColor_grey, @formHeadStopColor_grey);
	}

/* =masonry
---------------------------------------- */

.b-masonry {
	width:980px;
	margin-left:-20px;
	overflow:hidden;
	}
.b-masonry .b-form {
	width:300px;
	float:left;
	margin-left:20px;
	}


/* =login
---------------------------------------- */

.b-form_login {
	width:363px;
	margin:-49px auto 1.5em;
	background:@loginFormBackground;
	position:relative;
	padding:24px 45px 20px 41px;
	.border(@loginFormBorderColor);
	.border-radius(18px);
	}
.b-form_login h2 {
	color:@loginFormTitleColor;
	font-size:2em;
	line-height:1.4;	
	margin:0;
	font-weight:normal;
	}
.b-form_login .b-form__row {
	padding:0 0 13px 80px;
	}
.b-form_login label {
	width:80px;
	color:@loginFormLabelColor;
	padding:7px 0;
	margin:0 -3px 0 -80px;
	}
.b-form_login .text,
.b-form_login select{
	padding:7px 4px;
	color:#5e5e5e;
	font-size:14px;
	line-height:14px;
	border-color:#ccc;
	margin:0;
	.box-shadow(inset 0 1px 1px rgba(0,0,0,0.26));
	.border-radius(3px);
	}
.b-form_login select {
	padding:6px;
	width:90px;
	height:33px;
	}
.b-form_login .text {
	width:269px;
	}
.b-form_login .b-checkbox {
	margin-left:80px;
	}
.b-form_login .b-form__row_checkbox {
	padding:0 0 25px;
	}
.b-form__row_checkbox label {
	float:none;
	display:inline;
	margin:0;
	width:auto;
	}
.b-form_text {
	margin:0 0 1em;
	}
.b-form .field-validation-error {
	display:block;
    padding: 0.3em 0;
    line-height: normal;
	color:@loginFormErrorColor;
	}
.b-form_login .field-validation-error {
	margin:0 0 .2em 0;
	}
.validation-summary-errors ul,
.validation-summary-errors li {
	list-style:none;
	margin:0;
	padding:0;
	}
.validation-summary-errors li {
	padding:.1em 0;
	}
.b-form .validation-summary-errors {
	padding:8px 10px;
	margin:0 0 13px;
	border:1px solid #fae5e5;
	.vertical(#fff3f3, #ffefef);
	.box-shadow(0 1px 1px rgba(0,0,0,0.08));
	.border-radius(3px);
	}
.b-form .password-reset__error li {
	margin-top: 10px;
	color: #9d1010;
	}
.b-form .password-reset__error li:first-child {
	margin-top: 0px;
	}

/* =products
---------------------------------------- */

/* products search */

.b-form_products_search {
	width:auto;
	margin:0 0 2em;
	float:right;
	padding:10px;
	background:@productSearchFormBackground;
	.border-radius;
	}
.b-form_products_search .b-form__row {
	padding:0;
	}
.b-form_products_search label {
	font-size:1.333em;
	color:@productSearchFormLabelColor;
	font-weight:bold;
	width:auto;
	margin:0;
	padding:.2em 8px .2em 0;
	}
.b-form_products_search .text,
.b-form_products_search select  {
	margin:0 7px 0 0;
	width:202px;
	}
.b-form_products_search select {
	width:158px;
	}
.b-form_products_search .ui-dropdownchecklist-selector-wrapper {
	float:none !important;
	}

/* export block */

.b-form_export {
	width:392px;
	margin:0;
	float:right;
	clear:right;
	padding:9px;
	background:@exportFormBackground;
	.border;
	.border-radius;
	}
.b-form_export .b-form__title {
	font-size:1em;
	font-weight:bold;
	color:@exportFormTitleColor;
	margin:0 0 .5em;
	padding:0;
	border:0;
	}
.b-form_export label {
	width:auto;
	padding:0 17px 0 0;
	}
.b-form_export .b-form__row {
	clear:both;
	padding:0;
	}
.b-form_export .b-form__buttons {
	margin:0 0 -5px;
	}
.b-form_export .b-radio {
	margin:0 2px 0 0;
	}

/* =media
---------------------------------------- */
.b-form_filter,
.b-form_searchmedia {
	width:auto;
	}
.b-form_filter .b-form__row {
	padding-left:0;
	}
.b-form_searchmedia label {
	margin:0;
	}
.b-form_filter {
	overflow:hidden;
	}
.b-form_filter label {
	width:54px;
	float:none;
	display:inline-block;
	vertical-align:baseline;
	line-height:normal;
	padding:0;
	}
.b-form_filter select {
	float:none;
	width:143px;
	}
.b-form_searchmedia .text {
	width:160px;
	float:none;
	}	
.switch_thumb {
	float:right;
	clear:right;
	}
.b-form__row_assets label {
	vertical-align:middle;
	top:-0.1em;
	}
.b-form__row_assets .b-checkbox {
	margin:0 .3em 0 0;
	}
.b-form__row_assets select {
	float:none;
	width:117px;
	margin:0 10px;
	}
.b-form_upload  {
	width:530px;
	.border;
	background-color:@uploadFormBackground;
	.border-radius;
	padding:15px 14px 4px;
	}
.b-form_upload .b-button {
	margin-top:-3px;
	}
	
/* =news
---------------------------------------- */
.b-form .b-form__row_theme_grey {
	padding:15px;
	margin-bottom:10px;
	background-color:@formRowBackground_grey;
	color:@formRowColor_grey;
	}
.b-additional-link {
    margin-bottom: 0;
	}
.b-additional-link span,
.b-additional-link__message, 
.b-add-another-file a{
	position:absolute;
	display:block;
	float:left;
	font-size:0.8em;
	line-height:normal;
	vertical-align:middle;
	padding:.3em 0;
	width:145px;
	color:#999999;
	}
.b-additional-link a{
	width:auto;
	color:#357E96;
	}

/* =fancybox form
---------------------------------------- */

.b-form_fancybox {
	width:420px;
	padding:1em;
	}
.b-form_fancybox .b-header_icon {
	padding-bottom:0;
	}
.b-form_fancybox .b-form {
	width:auto;
	}
.b-form_fancybox .b-form__row {
	padding-left:0;
	}
.b-form_fancybox label {
	width:auto;
	margin-left:0;
	}
.b-form_fancybox .radio {
    margin-left: 0;
	}
.b-form_fancybox select {
	float:none;
	}
.b-form_fancybox .b-form__text {
	clear:left;
	font-style:italic;
	margin:.5em 0 0 0;
	}
.b-form_fancybox .b-checkbox {
	margin-left:0;
	}
.b-form_fancybox .b-form__row_buttons {
	padding:.5em 0 0 0;
	}
/* =twitter
---------------------------------------- */

.b-twitter {
	position:relative;
	overflow:hidden;
	list-style:none;
	margin:-15px 0;
	padding:0;
	}
.b-twitter__item {
	height:1%;
	padding:15px 0 16px;
	margin:-1px 0 0;
	border-top:1px solid #ededed;
	}
.b-twitter__img {
	float:left;
	margin:3px 14px 0 0;
	}
.b-twitter__txt {
	position:relative;
	overflow:hidden;
	zoom:1;
	}
.b-twitter__txt p {
	margin:0;
	}
.b-twitter__txt__author {
	font-style:italic;
	color:#999;
	}

/* =google analytics
---------------------------------------- */
#line-chart {
	margin:0 0 1.5em;
	}
.b-analytic-details {
	list-style:none;
	margin:0;
	padding:0 0 1.5em;
	}
.b-analytic-details li {
	padding:0;
	}
.b-analytic-content {
	position:relative;
	margin-bottom:-1.5em;
	}
.b-analytic-content h4 {
	font-weight:bold;
	margin:0 0 .8em;
	}
.b-quick-tasks_analytics {
	border-top:1px solid #ededed;
	border-bottom:1px solid #ededed;
	margin-bottom:1.5em;
	}
.b-quick-tasks_analytics td {
	vertical-align:middle;
	text-align:left;
	padding:3px 15px;
	}
.b-quick-tasks_analytics strong {
	font-size:18px;
	font-weight:bold;
	}
.b-quick-tasks_analytics .border-right_none {
	border-right:0;
	}
.b-quick-tasks_analytics .border-left_none {
	border-left:0;
	}
.b-quick-tasks_analytics .first-cell {
	padding-left:0;
	}
.b-analytic-col_half {
	width:50%;
	}

/* =pager
---------------------------------------- */

.pager {
	text-align:right;
	clear:both;
	padding:0 0 1em;
	}
.pager__item {
	text-align:center;
	line-height:18px;
	height:18px;
	width:18px;
	display:inline-block;
	margin:0 4px 0 0;
	background:#FFF;
	text-decoration:none;	
	.border;
	.border-radius(4px);	
	.box-shadow(0 1px 1px rgba(0,0,0,0.16));
	}
.ie7 .pager__item {
	display:inline;
	zoom:1;
	}
.pager .b-current {
	color:#3a3a39;
	}
/* =ui-sortable
 ---------------------------------------- */
.ui-sortable .b-form__head:hover{
    cursor: move;
}

/* Admin caption */
.b-admin-caption__edit{
    margin:5px 0;
    }
.b-admin-caption .b-button{
    margin-right: 5px;
    }
.b-admin-caption__edit .text{
    margin:0;
    width: 210px;
    }
.b-admin-caption__edit__title{
    display: block;
    }

.b-form__userdetails .b-mediapicker-wrap{
   margin: -2em 0 0 0;
  }